package com.shouhuobao.bhi.collect.model;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * 扫码取、密码取，数据返回
 * 
 * @author wind
 * 
 */
public class CollectParcelPickUpBean implements Serializable {

	private static final long serialVersionUID = -2868752460367129096L;
	// 数据类型(1多网点，2单网点需支付，3单网点无需支付，4无在店包裹)
	private int type;
	// 包裹id(正常为0，其他待定义)
	private int status;
	// 提示信息
	private String message;
	// 签收编码(已取走页面链接或者单网点密码二维码连接)
	private String jumpUrl;
	// 网点数据集合(扫码取时不存在多网点的情况 points 数组长度为1)
	private ArrayList<CollectParcelPointBean> points;

	// 取货的类型：是否为扫码取货
	private boolean isScanCodePickUp;
	
	public boolean isScanCodePickUp() {
		return isScanCodePickUp;
	}

	public void setScanCodePickUp(boolean isScanCodePickUp) {
		this.isScanCodePickUp = isScanCodePickUp;
	}
	
	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getJumpUrl() {
		return jumpUrl;
	}

	public void setJumpUrl(String jumpUrl) {
		this.jumpUrl = jumpUrl;
	}

	public ArrayList<CollectParcelPointBean> getPoints() {
		return points;
	}

	public void setPoints(ArrayList<CollectParcelPointBean> points) {
		this.points = points;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "CollectParcelPickUpBean [type=" + type + ", status=" + status + ", message=" + message + ", jumpUrl=" + jumpUrl + ", points=" + points + "]";
	}

}
